package org.jeecg.modules.wlhy.order.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.hibernate.annotations.Table;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: hy_order_send_address
 * @Author: jeecg-boot
 * @Date:   2021-09-10
 * @Version: V1.0
 */
@Data
@TableName("hy_order_send_address")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hy_order_send_address对象", description="hy_order_send_address")
public class HyOrderSendAddress implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**货源id*/
	@Excel(name = "货源id", width = 15)
    @ApiModelProperty(value = "货源id")
    private String orderId;
	/**货主id*/
	@Excel(name = "货主id", width = 15)
    @ApiModelProperty(value = "货主id")
    private String customerId;
	/**是否目的地*/
	@Excel(name = "是否目的地", width = 15)
    @ApiModelProperty(value = "是否目的地")
    private boolean izDest;
	/**发货地址*/
	@Excel(name = "发货地址", width = 15)
    @ApiModelProperty(value = "发货地址")
    private String addressSendId;
	/**要求发货时间*/
	@Excel(name = "要求发货时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "要求发货时间")
    private Date sendDate;
	/**发货地址名称*/
	@Excel(name = "发货地址名称", width = 15)
    @ApiModelProperty(value = "发货地址名称")
    private String sendAddressName;
	/**发货经度*/
	@Excel(name = "发货经度", width = 15)
    @ApiModelProperty(value = "发货经度")
    private BigDecimal sendLongitude;
	/**发货维度*/
	@Excel(name = "发货维度", width = 15)
    @ApiModelProperty(value = "发货维度")
    private BigDecimal sendLatitude;
	/**发货详细地址*/
	@Excel(name = "发货详细地址", width = 15)
    @ApiModelProperty(value = "发货详细地址")
    private String sendAddress;
	/**发货区域代码*/
	@Excel(name = "发货区域代码", width = 15)
    @ApiModelProperty(value = "发货区域代码")
    private String sendAreaCode;
	/**发货联系人*/
	@Excel(name = "发货联系人", width = 15)
    @ApiModelProperty(value = "发货联系人")
    private String sendContactName;
	/**发货联系人电话*/
	@Excel(name = "发货联系人电话", width = 15)
    @ApiModelProperty(value = "发货联系人电话")
    private String sendContactTel;

    //证件号
    private String sendContactCredit;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**排序*/
	@Excel(name = "排序", width = 15)
    @ApiModelProperty(value = "排序")
    private Integer sortNum;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;

    @ApiModelProperty(value = "电子围栏信息")
    @TableField(exist = false)
	private String shippingFence;
}
